﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;

namespace Chess.Server
{
    public static class SessionManager
    {
        private static List<Session> _sessions { get; set; }

        static SessionManager()
        {
            _sessions = new List<Session>();
        }

        public static Session Create(TcpClient client)
        {
            Session session = new Session(client);
            _sessions.Add(session);
            return session;
        }
    }
}
